package pe.gob.mtpe.construcsys.mybatis.despachadores;

import java.util.List;

import pe.gob.mtpe.construcsys.bean.ParamConsultaReqxretcc;
import pe.gob.mtpe.construcsys.bean.Reqxretcc;
import pe.gob.mtpe.construcsys.mybatis.implementacion.IMPReqXRetcc;
import pe.gob.mtpe.construcsys.mybatis.interfase.INTReqXRetcc;

public class ReqXRetccDespatch {
	INTReqXRetcc reqXRetccDao;
	
	public ReqXRetccDespatch(){
		reqXRetccDao=new IMPReqXRetcc();
	}
	
	public String insertar(Reqxretcc reqxretcc) throws Exception {
		return reqXRetccDao.insertar(reqxretcc);
	}
	public String actualizar(Reqxretcc reqxretcc) throws Exception {
		return reqXRetccDao.actualizar(reqxretcc);
	}
	public String eliminar(Reqxretcc reqxretcc) throws Exception {
		return reqXRetccDao.eliminar(reqxretcc);
	}
	public List<Reqxretcc> listar(ParamConsultaReqxretcc parametro)
			throws Exception {
		return reqXRetccDao.listar(parametro);
	}
	public Reqxretcc obtener(ParamConsultaReqxretcc Reqxretcc) throws Exception {
		return reqXRetccDao.obtener(Reqxretcc);
	}

}
